package top.yehot.kettle.boot;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import top.yehot.cmm.util.core.utils.YamlUtil;
import top.yehot.cmm.util.swagger.anns.EnableAppSwagger2;

@SpringBootApplication
//@EnableDiscoveryClient
@EnableTransactionManagement
@EnableAppSwagger2
@MapperScan("top.yehot.kettle.boot.mapper")
public class KettleBootApp {

	public static void main(String[] args) {
		YamlUtil.setLogPath("/application.yml");
		SpringApplication.run(KettleBootApp.class, args);
	}

}
